﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MadLibrary.Web
{
    /// <summary>
    /// Thrown when there's parsed some invalid CSS input.
    /// </summary>
    [Serializable]
    public class InvalidCssInputException : Exception
    {
        /// <summary>
        /// Creates new InvalidCssInput exception.
        /// </summary>
        public InvalidCssInputException()
            : base("Invalid CSS input passed for requested operation.")
        {
        }

        /// <summary>
        /// Creates new InvalidCssInput exception with specified message.
        /// </summary>
        /// <param name="Message">Specifies message for new exception.</param>
        public InvalidCssInputException(string Message)
            : base(Message)
        {
        }
    }
}